-- reggent_formula
-- created by wangy
-- 道具描述：试剂配方

return {
    -- 获取道具描述
    getDesc = function(itemId, args, para)

        local desc   = getLocStr("script_desc_reggent_formula");

        return desc;
    end,

    -- 细节描述
    getDetail = function(itemId, args, para)
        local detail_args = ItemM.query(itemId, "detail_args");
        local reggent_id  = detail_args.reggent_id;

        if reggent_id == nil then
            reggent_id = itemId;
        end

        local name = ItemM.query(reggent_id, "name");
        local desc = getLocStr("script_desc_reggent_formula_use");

        desc = string.format(desc, name);

        return desc;
    end,
};
